package com.woniuxy.dao;

import com.woniuxy.entity.RbacRole;
import com.woniuxy.entity.RoleMenuDTO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: 马宇航
 * @Description: TODO
 * @DateTime: 22/02/24/0024 下午 4:02
 * @Component: 成都蜗牛学苑
 **/
public interface RbacRoleDao {
    @Select("select * from rbac_role")
    List<RbacRole> findAll();

    void saveMenu(RoleMenuDTO roleMenuDTO);
    int deleteById(Integer id);
}
